package com.why.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hy-woo
 * @since 2022-05-30
 */
@Getter
@Setter
@TableName("tb_stu")
public class Stu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生姓名
     */
    private String name;

    /**
     * 性别id
     */
    private Integer sexId;

    /**
     * 班级id
     */
    private Integer classId;

    /**
     * 入学时间
     */
    private LocalDate created;


}
